#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>

namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow {
    Q_OBJECT
public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

protected:
    void changeEvent(QEvent *e);

private:
    Ui::MainWindow *ui;

    void PopulateYearCombo();
    void InsertTablesAndButton();
    void SetValidators();
    void LoadSettings();

private slots:
    void on_actionSave_personal_info_triggered();
    void on_actionExit_triggered();
    void on_removePaymentButton_clicked();
    void on_removeActivityButton_clicked();
    void on_createReportButton_clicked();
    void on_addPaymentButton_clicked();
    void on_addActivityButton_clicked();
};

#endif // MAINWINDOW_H
